<div id="From-scratch"></div>
<div class="header">
<p>
Previous: [[cvs: Creating Files From Other Version Control Systems#Creating Files From Other Version Control Systems|From other version control systems]], Up: [[cvs: Setting up the files#Setting up the files|Setting up the files]] &nbsp; |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p>
</div>

----

<div id="Creating-a-directory-tree-from-scratch"></div>
==== Creating a directory tree from scratch ====

For a new project, the easiest thing to do is probably
to create an empty directory structure, like this:

<div class="example" style="margin-left: 3.2em">
 $ mkdir tc
 $ mkdir tc/man
 $ mkdir tc/testing
</div>

After that, you use the <code>import</code> command to create
the corresponding (empty) directory structure inside
the repository:

<div class="example" style="margin-left: 3.2em">
 $ cd tc
 $ cvs import -m &quot;Created directory structure&quot; yoyodyne/<var>dir</var> yoyo start
</div>

Then, use <code>add</code> to add files (and new directories)
as they appear.

Check that the permissions <small>CVS</small> sets on the
directories inside <code>$CVSROOT</code> are reasonable.

This document was generated on <i>a sunny day</i> using [http://www.nongnu.org/texi2html/ <i>texi2html</i>].
